package com.example.springbott.wx_bean_heheer;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author 1784549954@qq.com
 * @since 2022/11/22 11:14
 */
@NoArgsConstructor
@Data
public class OrderListVODate {

        private Integer total;
        private Integer pages;
        private Integer limit;
        private Integer page;
        private List<ListBean> list;


        @NoArgsConstructor
        @Data
        public static class ListBean {
            private String orderStatusText;
            private Integer aftersaleStatus;
            private Boolean isGroupin;
            private String orderSn;
            private Double actualPrice;
            private List<GoodsListBean> goodsList;
            private Integer id;
            private HandleOptionBean handleOption;

            @NoArgsConstructor
            @Data
            @AllArgsConstructor
            public static class HandleOptionBean {
                private Boolean cancel;
                private Boolean delete;
                private Boolean pay;
                private Boolean comment;
                private Boolean confirm;
                private Boolean refund;
                private Boolean rebuy;
                private Boolean aftersale = false;
            }

            @NoArgsConstructor
            @Data
            public static class GoodsListBean {
                private Integer number;
                private String picUrl;
                private Double price;
                private Integer id;
                private String goodsName;
                private String[] specifications;
            }
        }
    }

